<!DOCTYPE html>
<html lang="en">
<head>
    <link th:replace="include/header.html">
    <title>股票列表</title>
    <style>
        .select{background: lightgreen;}
        .selectRed{background: red;}
    </style>
</head>
<body>
    <a href="/">home</a>
    <div style="margin: 10px">
        规模：
        <a th:href="'?minShizhi=100&maxShizhi=500&jys='+${jys}" th:class="${maxShizhi<=500 ? 'selectRed':'' }">100亿-500亿</a>
        <a th:href="'?minShizhi=500&maxShizhi=1000&jys='+${jys}" th:class="${minShizhi==500 && maxShizhi==1000 ? 'selectRed':'' }">500亿-1000亿</a>
        <a th:href="'?minShizhi=1000&maxShizhi=100000&jys='+${jys}" th:class="${minShizhi>=1000 ? 'selectRed':'' }">1000亿+</a>
    </div>
    <div style="margin: 10px">
        交易所：
        <a th:href="'?minShizhi=' + ${minShizhi} + '&maxShizhi=' + ${maxShizhi} +'&jys=sh'" th:class="${jys=='sh' ? 'selectRed':'' }">上海</a>
        <a th:href="'?minShizhi=' + ${minShizhi} + '&maxShizhi=' + ${maxShizhi} +'&jys=sz'" th:class="${jys=='sz' ? 'selectRed':'' }">深圳</a>
        <a th:href="'?minShizhi=' + ${minShizhi} + '&maxShizhi=' + ${maxShizhi} +'&jys=hk'" th:class="${jys=='hk' ? 'selectRed':'' }">香港</a>
    </div>
    <div style="margin: 10px" th:include="stock_table.html">

    </div>

</body>
</html>